<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $_['heading_title']; ?></h1>
  <form action="<?php echo US('affiliate/password'); ?>" method="post" enctype="multipart/form-data" id="form">
    <h2><?php echo $_['text_password']; ?></h2>
    <div class="content">
      <table class="form">
        <tr>
          <td><span class="required">*</span> <?php echo $_['entry_password']; ?></td>
          <td><input type="password" id="password" name="password" value="<?php echo $password; ?>"  data-rule-required="true" data-rule-rangelength="4,20" />
            <?php if (isset($error_password)) { ?>
            <span class="error"><?php echo $error_password; ?></span>
            <?php } ?></td>
        </tr>
        <tr>
          <td><span class="required">*</span> <?php echo $_['entry_confirm']; ?></td>
          <td><input type="password" name="confirm" value="<?php echo $confirm; ?>" data-rule-required="true" data-rule-equalTo="#password" />
            <?php if (isset($error_confirm)) { ?>
            <span class="error"><?php echo $error_confirm; ?></span>
            <?php } ?></td>
        </tr>
      </table>
    </div>
    <div class="buttons">
      <div class="left"><a href="<?php echo US('affiliate/account'); ?>" class="button"><?php echo $_['button_back']; ?></a></div>
      <div class="right"><input type="submit" value="<?php echo $_['button_continue']; ?>" class="button" /></div>
    </div>
  </form>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>